//
//  DtChannelApi.h
//  kq_flutter_core_widget
//
//  Created by wtb on 2024/12/27.
//

#import <Foundation/Foundation.h>
#import <DTShareKit/DTOpenKit.h>
#import <Flutter/Flutter.h>

NS_ASSUME_NONNULL_BEGIN

@interface DtChannelApi : NSObject

+ (instancetype _Nullable)defualtDtChannelApi;

// 钉钉文本分享
-(void)handleDTShareTextCall:(FlutterMethodCall *)call result:(FlutterResult)result;

// 钉钉网页分享
-(void)handleDTShareWebCall:(FlutterMethodCall *)call result:(FlutterResult)result;

//钉钉图片分享
-(void)handleDTShareImageCall:(FlutterMethodCall *)call result:(FlutterResult)result;

+ (BOOL)handleOpenURL:(NSURL *)url;

@end

NS_ASSUME_NONNULL_END
